package cn.edu.lnpu.manage.course;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableFeignClients
@SpringBootApplication
@EntityScan("cn.edu.lnpu.domain.course")
@ComponentScan({"cn.edu.lnpu.api", "cn.edu.lnpu.manage.course","cn.edu.lnpu.common"})//扫描实体类
public class ManageCourseApplication {
    public static void main(String[] args) throws Exception {
        SpringApplication.run(ManageCourseApplication.class, args);
    }
}
